/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dto;

import java.io.Serializable;

/**
 *
 * @author lab
 */
public class TourCategory implements Serializable {

    private int tourCateID;
    private String cateName;
    private String description;

    /**
     * @return the tourCateID
     */
    public int getTourCateID() {
        return tourCateID;
    }

    /**
     * @param tourCateID the tourCateID to set
     */
    public void setTourCateID(int tourCateID) {
        this.tourCateID = tourCateID;
    }

    /**
     * @return the cateName
     */
    public String getCateName() {
        return cateName;
    }

    /**
     * @param cateName the cateName to set
     */
    public void setCateName(String cateName) {
        this.cateName = cateName;
    }

    /**
     * @return the description
     */
    public String getDescription() {
        return description;
    }

    /**
     * @param description the description to set
     */
    public void setDescription(String description) {
        this.description = description;
    }
    public boolean validate(){
        if (cateName.equals("")) {
            return false;
        }
        return true;
    }
}
